package com.trhui.mallbook.domain.request.xib;

import com.trhui.mallbook.domain.common.BaseRequest;
import com.trhui.mallbook.domain.request.hf.ReceiveGood;
import com.trhui.mallbook.domain.request.hf.ReceiveUser;

import java.util.List;

/**
 * 汇付渠道确认收货请求对象
 * @author huangh
 */
public class XibReceiveRequest extends BaseRequest {

    /**
     * 原支付请求订单号（必填）
     */
    private String originalMerOrderId;
    /**
     * 异步分账订单号（多次异步确认订单进行确认收货时必传）
     */
    private String asynMerOrderId;

    /**
     * 确认收货总额（必填）
     * 必须大于0
     * 确认收货总额=总确认分账金额
     */
    private String rcvAmount;

    /**
     * 分账方列表(必填)
     */
    private List<ReceiveUser> splitList;

    /**
     * 商品列表
     */
    private List<ReceiveGood> goodsDetail;
    /**
     * 自定义参数1
     */
    private String parameter1;

    /**
     * 自定义参数2
     */
    private String parameter2;

    public String getOriginalMerOrderId() {
        return originalMerOrderId;
    }

    public void setOriginalMerOrderId(String originalMerOrderId) {
        this.originalMerOrderId = originalMerOrderId;
    }

    public String getAsynMerOrderId() {
        return asynMerOrderId;
    }

    public void setAsynMerOrderId(String asynMerOrderId) {
        this.asynMerOrderId = asynMerOrderId;
    }

    public String getRcvAmount() {
        return rcvAmount;
    }

    public void setRcvAmount(String rcvAmount) {
        this.rcvAmount = rcvAmount;
    }

    public List<ReceiveUser> getSplitList() {
        return splitList;
    }

    public void setSplitList(List<ReceiveUser> splitList) {
        this.splitList = splitList;
    }

    public List<ReceiveGood> getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(List<ReceiveGood> goodsDetail) {
        this.goodsDetail = goodsDetail;
    }

    public String getParameter1() {
        return parameter1;
    }

    public void setParameter1(String parameter1) {
        this.parameter1 = parameter1;
    }

    public String getParameter2() {
        return parameter2;
    }

    public void setParameter2(String parameter2) {
        this.parameter2 = parameter2;
    }

}
